# Add more folders to ship with the application, here
folder_01.source = qml/PeerON_Qt
folder_01.target = qml
DEPLOYMENTFOLDERS = folder_01

QT += xml

# Additional import path used to resolve QML modules in Creator's code model
QML_IMPORT_PATH =

symbian:TARGET.UID3 = 0xE26F06D4

# Smart Installer package's UID
# This UID is from the protected range and therefore the package will
# fail to install if self-signed. By default qmake uses the unprotected
# range value if unprotected UID is defined for the application and
# 0x2002CCCF value if protected UID is given to the application
#symbian:DEPLOYMENT.installer_header = 0x2002CCCF

# Allow network access on Symbian
symbian:TARGET.CAPABILITY += NetworkServices

# If your application uses the Qt Mobility libraries, uncomment the following
# lines and add the respective components to the MOBILITY variable.
# CONFIG += mobility
# MOBILITY +=

# Speed up launching on MeeGo/Harmattan when using applauncherd daemon
# CONFIG += qdeclarative-boostable

# Add dependency to Symbian components
# CONFIG += qt-components

QMAKE_CXXFLAGS += -std=gnu++0x
DEFINES += BUILDING_DCPP=1 \
           _WIN32_WINNT=0x502 \
           WINVER=0x502 \
           _WIN32_IE=0x600 \
           HAS_PCH \
           NOMINMAX \
           STRICT \
           WIN32_LEAN_AND_MEAN \
           BOOST_ALL_NO_LIB \
           BOOST_USE_WINDOWS_H \
           UNICODE \
           _UNICODE \
           __MINGW32__
#           STATICLIB


INCLUDEPATH += C:/mingw32-depends


# The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += main.cpp \
    viewmodel.cpp \
    onesearchresult.cpp \
    actions.cpp \
    vmsearchresult.cpp \
    dcpp/ZUtils.cpp \
    dcpp/WindowManager.cpp \
    dcpp/WindowInfo.cpp \
    dcpp/version.cpp \
    dcpp/Util.cpp \
    dcpp/UserMatchManager.cpp \
    dcpp/UserMatch.cpp \
    dcpp/UserConnection.cpp \
    dcpp/UserCommand.cpp \
    dcpp/User.cpp \
    dcpp/UploadManager.cpp \
    dcpp/Upload.cpp \
    dcpp/Transfer.cpp \
    dcpp/Torrent.cpp \
    dcpp/TimerManager.cpp \
    dcpp/TigerHash.cpp \
    dcpp/ThrottleManager.cpp \
    dcpp/Thread.cpp \
    dcpp/Text.cpp \
    dcpp/StringTokenizer.cpp \
    dcpp/StringMatch.cpp \
    dcpp/stdinc.cpp \
    dcpp/SSLSocket.cpp \
    dcpp/SSL.cpp \
    dcpp/Socket.cpp \
    dcpp/SimpleXMLReader.cpp \
    dcpp/SimpleXML.cpp \
    dcpp/SimpleBencodeReader.cpp \
    dcpp/ShareManager.cpp \
    dcpp/SFVReader.cpp \
    dcpp/SettingsManager.cpp \
    dcpp/SearchResult.cpp \
    dcpp/SearchManager.cpp \
    dcpp/ResourceManager.cpp \
    dcpp/QueueManager.cpp \
    dcpp/QueueItem.cpp \
    dcpp/NmdcHub.cpp \
    dcpp/MappingManager.cpp \
    dcpp/Mapper_WinUPnP.cpp \
    dcpp/Mapper_NATPMP.cpp \
    dcpp/Mapper_MiniUPnPc.cpp \
    dcpp/Mapper.cpp \
    dcpp/Magnet.cpp \
    dcpp/LogManager.cpp \
    dcpp/HttpDownload.cpp \
    dcpp/HttpConnection.cpp \
    dcpp/HashManager.cpp \
    dcpp/HashBloom.cpp \
    dcpp/GeoManager.cpp \
    dcpp/GeoIP.cpp \
    dcpp/FinishedManager.cpp \
    dcpp/FinishedItem.cpp \
    dcpp/FileReader.cpp \
    dcpp/File.cpp \
    dcpp/FavoriteManager.cpp \
    dcpp/Exception.cpp \
    dcpp/Encoder.cpp \
    dcpp/DownloadManager.cpp \
    dcpp/Download.cpp \
    dcpp/DirectoryListing.cpp \
    dcpp/DCPlusPlus.cpp \
    dcpp/CryptoManager.cpp \
    dcpp/ConnectivityManager.cpp \
    dcpp/ConnectionManager.cpp \
    dcpp/ClientManager.cpp \
    dcpp/Client.cpp \
    dcpp/CID.cpp \
    dcpp/ChatMessage.cpp \
    dcpp/BZUtils.cpp \
    dcpp/Bundle.cpp \
    dcpp/BufferedSocket.cpp \
    dcpp/ADLSearch.cpp \
    dcpp/AdcHub.cpp \
    dcpp/AdcCommand.cpp \
    boost/libs/regex/src/winstances.cpp \
    boost/libs/regex/src/wide_posix_api.cpp \
    boost/libs/regex/src/wc_regex_traits.cpp \
    boost/libs/regex/src/w32_regex_traits.cpp \
    boost/libs/regex/src/usinstances.cpp \
    boost/libs/regex/src/static_mutex.cpp \
    boost/libs/regex/src/regex_traits_defaults.cpp \
    boost/libs/regex/src/regex_raw_buffer.cpp \
    boost/libs/regex/src/regex_debug.cpp \
    boost/libs/regex/src/regex.cpp \
    boost/libs/regex/src/posix_api.cpp \
    boost/libs/regex/src/instances.cpp \
    boost/libs/regex/src/icu.cpp \
    boost/libs/regex/src/fileiter.cpp \
    boost/libs/regex/src/cregex.cpp \
    boost/libs/regex/src/cpp_regex_traits.cpp \
    boost/libs/regex/src/c_regex_traits.cpp \
    bzip2/randtable.c \
    bzip2/huffman.c \
    bzip2/decompress.c \
    bzip2/crctable.c \
    bzip2/compress.c \
    bzip2/bzlib.c \
    bzip2/blocksort.c \
    searchdescrption.cpp \
    clientgui.cpp \
    searchresultgui.cpp \
    myprogramm.cpp \
    initvalues.cpp \
    shareddir.cpp \
    favoritehubsaver.cpp

# Please do not modify the following two lines. Required for deployment.
include(qmlapplicationviewer/qmlapplicationviewer.pri)
qtcAddDeployment()

HEADERS += \
    viewmodel.h \
    onesearchresult.h \
    actions.h \
    vmsearchresult.h \
    dcpp/ZUtils.h \
    dcpp/WindowManager.h \
    dcpp/WindowInfo.h \
    dcpp/w.h \
    dcpp/version.h \
    dcpp/Util.h \
    dcpp/UserMatchManager.h \
    dcpp/UserMatch.h \
    dcpp/UserConnectionListener.h \
    dcpp/UserConnection.h \
    dcpp/UserCommand.h \
    dcpp/User.h \
    dcpp/UploadManagerListener.h \
    dcpp/UploadManager.h \
    dcpp/Upload.h \
    dcpp/typedefs.h \
    dcpp/Transfer.h \
    dcpp/Torrent.h \
    dcpp/TimerManager.h \
    dcpp/TigerHash.h \
    dcpp/ThrottleManager.h \
    dcpp/Thread.h \
    dcpp/Text.h \
    dcpp/TaskQueue.h \
    dcpp/Style.h \
    dcpp/StringTokenizer.h \
    dcpp/StringSearch.h \
    dcpp/StringMatch.h \
    dcpp/Streams.h \
    dcpp/stdinc.h \
    dcpp/SSLSocket.h \
    dcpp/SSL.h \
    dcpp/Speaker.h \
    dcpp/Socket.h \
    dcpp/Singleton.h \
    dcpp/SimpleXMLReader.h \
    dcpp/SimpleXML.h \
    dcpp/SimpleBencodeReader.h \
    dcpp/ShareManager.h \
    dcpp/SHA1Hash.h \
    dcpp/SFVReader.h \
    dcpp/SettingsManager.h \
    dcpp/Semaphore.h \
    dcpp/Segment.h \
    dcpp/SearchResult.h \
    dcpp/SearchManagerListener.h \
    dcpp/SearchManager.h \
    dcpp/ScopedFunctor.h \
    dcpp/ResourceManager.h \
    dcpp/QueueManagerListener.h \
    dcpp/QueueManager.h \
    dcpp/QueueItem.h \
    dcpp/Pointer.h \
    dcpp/OnlineUser.h \
    dcpp/noexcept.h \
    dcpp/NmdcHub.h \
    dcpp/MerkleTreeOutputStream.h \
    dcpp/MerkleTree.h \
    dcpp/MerkleCheckOutputStream.h \
    dcpp/MD5Hash.h \
    dcpp/MappingManager.h \
    dcpp/Mapper_WinUPnP.h \
    dcpp/Mapper_NATPMP.h \
    dcpp/Mapper_MiniUPnPc.h \
    dcpp/Mapper.h \
    dcpp/Magnet.h \
    dcpp/LogManagerListener.h \
    dcpp/LogManager.h \
    dcpp/HubEntry.h \
    dcpp/HttpDownload.h \
    dcpp/HttpConnectionListener.h \
    dcpp/HttpConnection.h \
    dcpp/HintedUser.h \
    dcpp/HashValue.h \
    dcpp/HashManagerListener.h \
    dcpp/HashManager.h \
    dcpp/HashBloom.h \
    dcpp/GetSet.h \
    dcpp/GeoManager.h \
    dcpp/GeoIP.h \
    dcpp/forward.h \
    dcpp/format.h \
    dcpp/Flags.h \
    dcpp/FinishedManagerListener.h \
    dcpp/FinishedManager.h \
    dcpp/FinishedItem.h \
    dcpp/FilteredFile.h \
    dcpp/FileReader.h \
    dcpp/File.h \
    dcpp/FavoriteUser.h \
    dcpp/FavoriteManagerListener.h \
    dcpp/FavoriteManager.h \
    dcpp/FavHubGroup.h \
    dcpp/FastAlloc.h \
    dcpp/Exception.h \
    dcpp/Encoder.h \
    dcpp/DownloadManagerListener.h \
    dcpp/DownloadManager.h \
    dcpp/Download.h \
    dcpp/DirectoryListing.h \
    dcpp/debug.h \
    dcpp/DCPlusPlus.h \
    dcpp/CryptoManager.h \
    dcpp/CriticalSection.h \
    dcpp/ConnectivityManager.h \
    dcpp/ConnectionManagerListener.h \
    dcpp/ConnectionManager.h \
    dcpp/compiler.h \
    dcpp/ClientManagerListener.h \
    dcpp/ClientManager.h \
    dcpp/ClientListener.h \
    dcpp/Client.h \
    dcpp/CID.h \
    dcpp/ChatMessage.h \
    dcpp/BZUtils.h \
    dcpp/BundleItem.h \
    dcpp/Bundle.h \
    dcpp/BufferedSocketListener.h \
    dcpp/BufferedSocket.h \
    dcpp/BloomFilter.h \
    dcpp/atomic.h \
    dcpp/ADLSearch.h \
    dcpp/AdcHub.h \
    dcpp/AdcCommand.h \
    boost/libs/regex/src/internals.hpp \
    searchdescrption.h \
    clientgui.h \
    searchresultgui.h \
    myprogramm.h \
    dcpp/version-revno.inc \
    globaldefinition.h \
    initvalues.h \
    shareddir.h \
    favoritehubsaver.h \
    singleton.h

INCLUDEPATH += ./boost \
               ./atomic \
               ./bzip2

win32: LIBS += -LC:/mingw32-depends/gettext/lib/ -llibintl

INCLUDEPATH += C:/mingw32-depends/gettext/include
DEPENDPATH += C:/mingw32-depends/gettext/include

win32: PRE_TARGETDEPS += C:/mingw32-depends/gettext/lib/libintl.a

win32: LIBS += -LC:/mingw32-depends/OpenSSL-Win32/lib/MinGW/ -leay32
win32: LIBS += -LC:/mingw32-depends/OpenSSL-Win32/lib/MinGW/ -lssleay32

INCLUDEPATH += C:/mingw32-depends/OpenSSL-Win32/include
DEPENDPATH += C:/mingw32-depends/OpenSSL-Win32/include

win32: PRE_TARGETDEPS += C:/mingw32-depends/OpenSSL-Win32/lib/MinGW/libeay32.a
win32: PRE_TARGETDEPS += C:/mingw32-depends/OpenSSL-Win32/lib/MinGW/libssleay32.a

win32: LIBS += -LC:/mingw32-depends/zlib-1.2.7/ -llibz

INCLUDEPATH += C:/mingw32-depends/zlib-1.2.7
DEPENDPATH += C:/mingw32-depends/zlib-1.2.7

win32: PRE_TARGETDEPS += C:/mingw32-depends/zlib-1.2.7/libz.a

win32: LIBS += -LC:/mingw32-depends/natpmp/ -lnatpmp

INCLUDEPATH += C:/mingw32-depends/natpmp
DEPENDPATH += C:/mingw32-depends/natpmp

win32: PRE_TARGETDEPS += C:/mingw32-depends/natpmp/libnatpmp.a

win32: LIBS += -LC:/mingw32-depends/miniupnpc/ -lminiupnpc

INCLUDEPATH += C:/mingw32-depends/miniupnpc
DEPENDPATH += C:/mingw32-depends/miniupnpc

win32: PRE_TARGETDEPS += C:/mingw32-depends/miniupnpc/libminiupnpc.a

win32: LIBS += -LC:/mingw32-depends/GeoIP/ -lGeoIP

INCLUDEPATH += C:/mingw32-depends/GeoIP
DEPENDPATH += C:/mingw32-depends/GeoIP

win32: PRE_TARGETDEPS += C:/mingw32-depends/GeoIP/libGeoIP.a


win32: LIBS += -LC:/MinGW/lib/ -lwsock32
win32: PRE_TARGETDEPS += C:/MinGW/lib/libwsock32.a

win32: LIBS += -LC:/MinGW/lib/ -lws2_32
win32: PRE_TARGETDEPS += C:/MinGW/lib/libws2_32.a

win32: LIBS += -LC:/MinGW/lib/ -liphlpapi
win32: PRE_TARGETDEPS += C:/MinGW/lib/libiphlpapi.a

win32: LIBS += -LC:/MinGW/lib/ -lole32
win32: PRE_TARGETDEPS += C:/MinGW/lib/libole32.a
